package com.dragon.design.principle.singleresponsibility;

/**
 * @author dragon
 * @version V1.0.0-RELEASE
 * @date 2019/5/15 14:55
 */
public class CourseImpl implements CourseContent, CourseManager {
    @Override
    public String getName() {
        return "java课程";
    }

    @Override
    public byte[] getVideo() {
        return new byte[10];
    }

    @Override
    public void studyCourse() {
        System.out.println("学习课程");
    }

    @Override
    public void refundCourse() {
        System.out.println("退课程");
    }
}
